*{
    padding: 0;
    margin: 0;
}
input{
    outline: none;
}

body{
    background-color: #f3f5f7;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}
/* 清除浮动代码 */
.clearfix:before, .clearfix:after {   
    content:"";   
    display:table;   
}   
.clearfix:after{   
    clear:both;   
    overflow:hidden;   
}   
.clearfix{   
    *zoom:1;   
} 

/* 顶部导航栏模块 */

.head{
    
    width: 1200px;
    height: 42px;
    
    margin: 30px auto;
}

.logo{
    float: left;
    width: 198px;
    height: 42px;   
    background: url(imgs/logo.png);
}

.nav{
    float: left;
    margin-left: 30px;

}

.nav ul li{
    float: left;
    margin:0 15px;
}

.nav ul li a{
    display: block;
    height: 42px;
    padding: 0 10px;
    line-height: 42px;
    color: #050505;
    font-size: 18px;
    text-decoration: none;
}

.nav ul li a:hover{
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}

.search{
    float: left;
    width: 412px;
    height: 42px;
    background-color: pink;
    margin-left: 30px;
}

.search input{
    float: left;
    width: 345px;
    height: 40px;
    background-color: wheat;
    border: 1px solid #00a4ff;
    border-right: none;
    font-size: 14px;
    color: #bfbfbf;
    padding-left: 15px;
}

.search button{
    width: 50px;
    height: 42px;
    background: url(imgs/btn.png);
    border: none;
}

.user{
    float: right;
    font-size: 14px;
    color: #666;
    background-repeat: no-repeat;
    line-height: 42px;
}
.user img{
    vertical-align: middle;
}

/* 中间banner模块 */

.banner{
    height: 421px;
    background-color: #1c036c;
}

.banner .main{
    width: 1200px;
    height: 421px;
    background: url(imgs/banner2.png);
    background-repeat: no-repeat;
    margin: 0 auto;
}

.subnav{
    float: left;
    width: 190px;
    height: 421px;
    background-color: rgba(0,0,0, 0.3);
}
.subnav ul li{
    height: 45px;
    line-height: 45px;
    margin: 0 20px;
}

.subnav ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.subnav ul li a span{
    float: right;
    margin-right: 5px;
}

.subnav ul li a:hover{
    color: #00a4ff;
}

.course{
    float: right;
    width: 230px;
    height: 300px;
    background-color: pink;
    margin-top: 50px;
}

.course h3{
    height: 48px;
    line-height: 48px;
    text-align: center;
    background-color: #9bceea;
    color: white;
}

.bd{
    margin: 0 20px;
}

.bd a{
    text-decoration: none;
}

.bd ul li {
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}

.bd ul li h4{
    font-size: 14px;
    color: #4e4e4e;
}
.bd ul li p{
    font-size: 12px;
    color: #a5a5a5;
}

.bd .all{
    display: block;
    height: 38px;
    border: 1px solid #00a4ff;
    margin-top: 5px;
    text-align: center;
    line-height: 38px;
    font-size: 16px;
    font-weight: 700;
    color: #00a4ff;
}

/* 精品推荐模块 */
.goods{
    width: 1200px;
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    box-shadow: 0 2px 3px 3px rgba(0,0,0, 0.1);
    margin: 10px auto;
}

.goods span{
    float: left;
    color: #ccc;
    
}

.goods h3{
    float: left;
    margin-left: 30px;
    margin-right: 30px;
    color: #00a4ff;
}

.goods li{
    float: left;
    
}

.goods ul li a{
    color: #050505;
    padding: 0 30px;
    font-size: 16px;
}

.goods a{
    float: right;
    margin-right: 30px;
    color: #00a4ff;
}

/* 精品推荐主体部分 */

.box .box-hd{
    width: 1200px;
    height: 45px;
    margin:30px auto 0;
}

.box .box-hd h3{
    float: left;
    color: #494949;
    font-size: 20px;

}

.box .box-hd a{
    float: right;
    color: #a5a5a5;
    font-size: 12px;
    margin-top: 10px;
    margin-right: 30px;
}

.box .box-bd{
    width: 1200px;
    margin: 0 auto;
}

.box .box-bd ul{
    width: 1225px;
}

.box .box-bd ul li {
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-right: 15px;
    margin-bottom: 15px; ;
}

.box .box-bd ul li em{
    position: absolute;
    top: 4px;
    right: -4px;
}

.box .box-bd ul li img{
    width: 100%;
}

.box .box-bd ul li h4 {
    margin: 20px 20px 20px 25px;
    font-style: 14px;
    font-weight: 400;
}

.box .box-bd ul li h4 a{
    color: #050505;
}

.box .box-bd .info{
    margin: 0px 20px 0px 25px;
    font-size: 12px;
    color: #999;
}

.box .box-bd .info span{
    color: #ff7c2d;
}

/* 底部导航部分 */

.foot{
    height: 200px;
    background-color: #fff;
    padding-top: 5px ;
}

.foot .footer{
    width: 1200px;
    height: 200px;
    margin: 30px auto;
}

.footer .copyright{
    width: 220px;
    float: left;
}

.footer .copyright p{
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px 0;
}

.footer .copyright a{
    display: block;
    width: 120px;
    height: 35px;
    color: #00a4ff;
    border: 1px solid #00a4ff;
    font-size: 16px;
    text-align: center;
    line-height: 35px;
}

.footer .links{
    float: right;
}

.footer .links dl{
    float: right;
    margin: 0 30px 0;
}


.footer .links dt{
    font-size: 16px;
    color: #333;
    margin: 0 0 5px;
}

.footer .links dd a{
    font-size: 12px;
    color: #333;
}